Bubble sort
noun
noun ·Rare ·Advanced level
Definitions
Noun
- 1 A sorting algorithm in which pairs of neighboring values are compared and swapped into the right order if necessary in the innermost loop.
Synonyms
All synonymsEtymology
A metaphor, suggesting the way that elements gradually bubble to the top of the array after consecutive comparisons.